package org.learn.develop.bit.calculation;

public class Shift {

    private String ac(int a,int b){
        int c = a<<b;
        return a +" << "+b+" = "+c ;
    }
    private void  loop(int a){
        for(int j =1 ;j<10;j++){
            System.out.println(ac(a,j));
        }
    }
    public static void main(String[] args) {
        int a = 1;
        Shift shift= new Shift();
        shift.loop(a);

    }
}
